

all: libhtreeX
	@echo all done
	@echo "**************************************************"
	@echo "*          now run './run_tests.sh' ;)           *"
	@echo "**************************************************"

libhtreeX:
	@echo "**************************************************"
	@echo "*          libhtree                              *"
	@echo "**************************************************"
	@cd libhtree && qmake && make -j 4
	@echo "**************************************************"
	@echo "*          Server                                *"
	@echo "**************************************************"
	@cd htreed && qmake && make -j4
	@echo "**************************************************"
	@echo "*          Plugins                               *"
	@echo "**************************************************"
	@cd plgservicedummy && qmake && make -j4
	@cd plgservicefile && qmake && make -j4
	@echo "**************************************************"
	@echo "*          Bildchentest                          *"
	@echo "**************************************************"
	@cd htr_test1_sharedimage && qmake && make -j4
	@echo "**************************************************"
	@echo "*          Monitor                               *"
	@echo "**************************************************"
	@cd htr_monitor && qmake && make -j4
	@echo "**************************************************"
	@echo "*          Commander                             *"
	@echo "**************************************************"
	@cd htr_commander && qmake && make -j4
	@echo "**************************************************"
	@echo "*          C-Client                              *"
	@echo "**************************************************"
	@cd htr_test2_c_client && make -j 4
	@echo "**************************************************"
	@echo "*          Slider fuer C-Client                  *"
	@echo "**************************************************"
	@cd htr_test2_slider && qmake && make -j 4
	@echo "**************************************************"
	@echo "*             Chat                                *"
	@echo "**************************************************"
	@cd htr_test3_chat && qmake && make -j 4
	@echo "**************************************************"
	@echo "*           Landscape                            *"
	@echo "**************************************************"
	@cd htr_landscape  && qmake && make -j 4

clean:
	@cd libhtree && qmake && make distclean
	@cd htreed && qmake && make distclean
	@cd htr_test1_sharedimage && qmake && make distclean
	@cd htr_test2_slider && make distclean
	@cd htr_test2_c_client && make clean
	@cd htr_test3_chat && make clean
	@cd htr_monitor && qmake && make distclean
	@cd htr_commander && qmake && make distclean
	@cd htr_landscape && qmake && make distclean
